package com.xiaolon.train12306.business.enums;/*
 *   项目名称：train12306
 *   文件名称：com.xiaolon.train12306.business.enums.SeatColEnum
 *
 *   创建人：  ZHOU XIAO LONG
 *   创建日期：2025/1/3
 *
 */
public enum SeatColEnum {
    YDZ_A("A", "A", "1"),
    YDZ_C("C","C","1"),
    YDZ_D("D","D","1"),
    YDZ_F("F","F","1"),
    EDZ_A("A","A","2"),
    EDZ_B("B","B","2"),
    EDZ_C("C","C","2"),
    EDZ_D("D","D","2"),
    EDZ_F("F","F","2"),
    ;
    private String code;
    private String desc;

    /**
     * 对应SeatTypeEnum.code
     */
    private String type;

    SeatColEnum(String code, String desc, String type) {
        this.code = code;
        this.desc = desc;
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SeatColEnum{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}

